package com.mic.gae.dto;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "project")
public class ProjectDTO {

	private boolean blocked;
	private boolean concurrent;
	private boolean configurable;
	private String description;
	private boolean enabled;
	private HealthDTO health;
	private String id;
	private BuildDTO lastBuild;
	private String name;
	private boolean queued;
	private RefDTO ref;
	private String title;
	private String type;
	private String url;
	private String blockedReason;
	private String buildsUrl;
	private BuildsDTO builds;

	@XmlElement
	public BuildsDTO getBuilds() {
		return builds;
	}

	public void setBuilds(BuildsDTO builds) {
		this.builds = builds;
	}

	@XmlElement
	public String getBlockedReason() {
		return blockedReason;
	}

	public void setBlockedReason(String blockedReason) {
		this.blockedReason = blockedReason;
	}

	@XmlElement
	public boolean isBlocked() {
		return blocked;
	}

	public void setBlocked(boolean blocked) {
		this.blocked = blocked;
	}

	@XmlElement
	public boolean isConcurrent() {
		return concurrent;
	}

	public void setConcurrent(boolean concurrent) {
		this.concurrent = concurrent;
	}

	@XmlElement
	public boolean isConfigurable() {
		return configurable;
	}

	public void setConfigurable(boolean configurable) {
		this.configurable = configurable;
	}

	@XmlElement
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@XmlElement
	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	@XmlElement
	public HealthDTO getHealth() {
		return health;
	}

	public void setHealth(HealthDTO health) {
		this.health = health;
	}

	@XmlElement
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@XmlElement(name = "lastBuild")
	public BuildDTO getLastBuild() {
		return lastBuild;
	}

	public void setLastBuild(BuildDTO lastBuild) {
		this.lastBuild = lastBuild;
	}

	@XmlElement
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@XmlElement
	public boolean isQueued() {
		return queued;
	}

	public void setQueued(boolean queued) {
		this.queued = queued;
	}

	@XmlElement
	public RefDTO getRef() {
		return ref;
	}

	public void setRef(RefDTO ref) {
		this.ref = ref;
	}

	@XmlElement
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@XmlElement
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@XmlElement
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@XmlElement
	public String getBuildsUrl() {
		return buildsUrl;
	}

	public void setBuildsUrl(String buildsUrl) {
		this.buildsUrl = buildsUrl;
	}

}
